package com.itjeffrey.autocode.config;

import lombok.Data;
import org.apache.xpath.operations.Bool;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @From: Jeffrey
 * @Date: 2021/6/8
 */
@Data
@Component
@ConfigurationProperties(prefix = "swagger2.config")
public class Swagger2Properties {

    /**
     * 是否启用Swagger2开关 true-启用，false-禁用
     */
    private Boolean enabled;

    /**
     * Swagger2授权（放行）的路径
     */
    private String[] authPaths;

}
